# uncompyle6 version 2.15.1
# Python bytecode 2.7 (62211)
# Decompiled from: Python 2.7.10 (default, Jul  1 2017, 13:36:56) 
# [GCC 4.4.6 20110731 (Red Hat 4.4.6-4)]
# Embedded file name: /data/bkce/open_paas/paas/templates_module/app/create_detail.part.py
# Compiled at: 2018-01-02 11:58:59
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
STOP_RENDERING = runtime.STOP_RENDERING
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1514865539.708767
_enable_loop = True
_template_filename = u'/data/bkce/open_paas/paas/templates/app/create_detail.part'
_template_uri = u'app/create_detail.part'
_source_encoding = 'utf-8'
_exports = []

def render_body(context, **pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        __M_locals = __M_dict_builtin(pageargs=pageargs)
        request = context.get('request', UNDEFINED)
        users = context.get('users', UNDEFINED)
        vcs_type_choices = context.get('vcs_type_choices', UNDEFINED)
        SITE_URL = context.get('SITE_URL', UNDEFINED)
        __M_writer = context.writer()
        __M_writer(u'\n<div class="row">\n    <div class="col-md-12">\n        <div class="panel-body" style="margin-left: -60px;margin-bottom: -30px;">\n            <div class="form-inline form-columns app-form">\n              <!-- \u5e94\u7528 ID -->\n              <div class="form-group">\n                <label class="control-label" for="">\u5e94\u7528 ID</label>\n                <div class="controls">\n                <input type="text" class="form-control" id="code" name="code" />\n                <span class="required">*</span>\n                <span id="tip_code" class="tips error"></span>\n                  <!--             \u4f7f\u7528\u72ec\u7acb\u57df\u540d\uff0cappcode\u4e2d\u4e0d\u7528\u4e0b\u5212\u7ebf\u6539\u7528\u8fde\u63a5\u7b26             -->\n                  <span class="help-block">\n                  \u7531\u5c0f\u5199\u82f1\u6587\u5b57\u6bcd\u3001\u8fde\u63a5\u7b26(-)\u6216\u6570\u5b57\u7ec4\u6210\uff0c\u957f\u5ea6\u4e3a3~16\u4e2a\u5b57\u7b26, \u5e76\u4e14\u4ee5\u5b57\u6bcd\u5f00\u5934\u3002\n                  </span>\n                </div>\n              </div>\n\n              <!--\u5e94\u7528\u540d\u79f0     -->\n              <div class="form-group">\n                <label class="control-label" for="">\u5e94\u7528\u540d\u79f0</label>\n                <div class="controls">\n                  <input type="text" class="form-control" id="name" name="name" value="" >\n                  <span class="required">*</span>\n                  <span id="tip_name" class="tips error"></span>\n                  <span class="help-block">\u5e94\u7528\u540d\u79f0\uff0c\u957f\u5ea6\u5c0f\u4e8e20\u4e2a\u5b57\u7b26\u3002</span>\n                </div>\n              </div>\n              <!-- \u5e94\u7528\u7b80\u4ecb -->\n              <div class="form-group">\n                <label class="control-label" for="">\u5e94\u7528\u7b80\u4ecb</label>\n                <div class="controls">\n                  <input type="text" class="form-control" id="introduction" name="introduction" value="" >\n                  <span class="required">*</span>\n                  <span id="tip_introduction" class="tips error"></span>\n                  <span class="help-block">\u5e94\u7528\u7b80\u8981\u4ecb\u7ecd\uff0c\u957f\u5ea6\u5c0f\u4e8e30\u4e2a\u5b57\u7b26\u3002</span>\n                </div>\n              </div>\n              <!-- \u5f00\u53d1\u8d1f\u8d23\u4eba -->\n              <hr style="margin-left: 50px;margin-top: 10px;">\n              <div class="form-group">\n                <label class="control-label" for="">\u8d1f\u8d23\u4eba</label>\n                <div class="controls">\n                    <input type="hidden" name="developer" id="developer" value="')
        __M_writer(unicode(request.user.username))
        __M_writer(u'">\n                    <select multiple="multiple" id="developer_select"  style="width: 545px;">\n')
        for _user in users:
            if _user['username'] == request.user.username:
                __M_writer(u'                                <option value="')
                __M_writer(unicode(_user['username']))
                __M_writer(u'" selected >')
                __M_writer(unicode(_user['username']))
                __M_writer(u'</option>\n')
            else:
                __M_writer(u'                                <option value="')
                __M_writer(unicode(_user['username']))
                __M_writer(u'" >')
                __M_writer(unicode(_user['username']))
                __M_writer(u'</option>\n')

        __M_writer(u'                    </select>\n                  <span class="required">*</span>\n                  <span id="tip_developer" class="tips error"></span>\n                  <span class="help-block">\u8d1f\u8d23\u4eba\u53ef\u4ee5\u7ba1\u7406\u3001\u90e8\u7f72\u8be5\u5e94\u7528</span>\n                </div>\n              </div>\n              <hr style="margin-left: 50px;margin-top: 10px;">\n              <!--\u7248\u672c\u63a7\u5236 start-->\n              <div class="form-group php" isthird=0>\n                <label class="control-label" for="">\u4ee3\u7801\u4ed3\u5e93</label>\n                <div class="controls mt5">\n')
        for value, key in vcs_type_choices:
            __M_writer(u'                    <label class="radio-inline">\n                      <input type="radio" name="vcs_type" value="')
            __M_writer(unicode(value))
            __M_writer(u'" \n')
            if key == 'Git':
                __M_writer(u'                            checked\n')
            __M_writer(u'                      > ')
            __M_writer(unicode(key))
            __M_writer(u'\n                    </label>\n')

        __M_writer(u'                  <span class="help-block" id="vcs_type_help">\u901a\u8fc7Git\u65b9\u5f0f\u83b7\u53d6\u5e94\u7528\u4ee3\u7801</span>\n                </div>\n              </div>\n              <div class="form-group">\n                <label class="control-label">\u4ed3\u5e93\u5730\u5740</label>\n                <div class="controls">\n                  <input type="text" class="form-control" name="vcs_url" id="vcs_url" value="" style="width:270px" title="">\n                  <span class="required">*</span>\n                  <span id="tip_vcs_url" class="tips mt10 mb5 ml150 error"></span>\n                  <span class="help-block" id="vcs_url_help">\u652f\u6301\u4ee5\u4e0b\u534f\u8bae\uff1ahttp(s)://, git://</span>\n                </div>\n              </div>\n              <div class="form-group">\n                <label class="control-label"><span id="vcs_text">Git</span>\u8d26\u53f7</label>\n                <div class="controls">\n                  <input type="text" class="form-control" name="vcs_username" id="vcs_username" value="" onblur="APP_CREATE.check_vcs_username()" style="width:270px" title="">\n                  <span class="required">*</span>\n                  <span id="tip_vcs_username" class="tips mt10 mb5 ml150 error"></span>\n                  <span class="help-block"></span>\n                </div>\n              </div>\n              <div class="form-group">\n                <label class="control-label">\u5bc6\u7801</label>\n                <div class="controls">\n                  <!-- \u9632\u6b62Firefox\u4e0b\u5bc6\u7801\u81ea\u52a8\u586b\u5145 -->\n                  <input type="text" style="display:none">\n                  <input type="password" style="display:none">\n                  <input type="text" onfocus="this.type=\'password\'" class="form-control" name="vcs_password" id="vcs_password" value="" onblur="APP_CREATE.check_vcs_password()" style="width:270px" title="">\n                  <span class="required">*</span>\n                  <span id="tip_vcs_password" class="tips mt10 mb5 ml150 error"></span>\n                </div>\n              </div>\n              <!--\u7248\u672c\u63a7\u5236 end-->\n              <!--\u5f00\u53d1\u4fe1\u606f start-->\n              <hr style="margin-left: 50px;margin-top: 10px;">\n              <div class="form-group">\n                <label class="control-label" for="language">\u5f00\u53d1\u8bed\u8a00</label>\n                <div class="controls">\n                  <span>Python\uff08Django 1.8\uff09</span> \n                  <span class="help-block">\u63a8\u8350\u57fa\u4e8e\u84dd\u9cb8\u667a\u4e91\u5e94\u7528\u5f00\u53d1\u6846\u67b6\u5f00\u53d1; \u5e76\u6309\u7167<a  target="_blank" href="')
        __M_writer(unicode(SITE_URL))
        __M_writer(u'guide/newbie/#step3"> \u63d0\u793a </a>\u4fee\u6539\u914d\u7f6e</span>\n                  \n                </div>\n              </div>\n              <!--\u5f00\u53d1\u4fe1\u606f end-->\n              <!-- form end-->\n            </div>\n        </div>\n    </div>\n</div>\n<hr/>\n<!--     \u64cd\u4f5c\u6309\u94ae  -->\n<div class="t_c mt35">\n    <button type="submit" class="btn btn-green btn-l btn-wm" id="submit_form_create" style="width:130px;height: 60px">\u521b\u5efa\u5e94\u7528</button>\n</div>\n')
        return ''
    finally:
        context.caller_stack._pop_frame()